import instance from '@/request/request'

export const initInviteData=()=>{
  return instance({
    url:`/api/todo/getInvite`,
    method:'get'
  })
}
export const acceptInvite=(param)=>{
  return instance({
    url:`/api/todo/accept`,
    method:'post',
    params:param
  })
}
export const initAttendanceDate=()=>{
  return instance({
    url:`/api/todo/getAttendance`,
    method:'get',
  })
}
export const attendance=(param)=>{
  return instance({
    url:`/api/todo/attendance`,
    method:'post',
    params:param
  })
}
export const toScore=()=>{
  return instance({
    url:`/api/todo/getToScore`,
    method:'get',
  })
}
